import http from '@/common/interface'
//获取综治myInfo
export function getMyZzInfo(){
	return http.request({
		url: '/zzCenter/getZzMyInfo',
		method: 'get'
	})
}
//获取咨询师职业档案
export function getZxsArchive(data){
	return http.request({
		url: '/userArch/getSelfRealArchive',
		method: 'get',
		data
	})
}
//修改头像
export function upUserHead(data){
	return http.request({
		url: '/user/upUserHead',
		method: 'put',
		data
	})
}
//获取乡镇数据
export function getTownData(data) {
  return http.request({
    url: '/town/getTownList',
    method: 'get',
    data
  })
}
//获取网格
export function getSqGroupData(data){
	return http.request({
		url: '/group/getSqGroupList',
		method: 'get',
		data
	})
}
//申请入住网格提交动作
export function applyRzZzService(data){
	return http.request({
		url: '/zzWorker/applyZzService',
		method: 'post',
		data
	})
}
//我的预约
export function getZzXlzxList(data){
	return http.request({
		url: '/groupXlzx/getZzXlzxSliceList',
		method: 'get',
		data
	})
}
//我的预约详情
export function getZzXlzxDet(data){
	return http.request({
		url: '/groupXlzx/getZzXlzxDetail',
		method: 'get',
		data
	})
}
//增加咨询报告
export function addZxRep(data){
	return http.request({
		url: '/groupXlzx/comZzXlzx',
		method: 'post',
		data
	})
}
//获取市级服务中心危机干预标签
export function getGroupTagList(data){
	return http.request({
		url: '/wjgy/getGroupTagList',
		method: 'get',
		data
	})
}
//我的干预 用户端
export function getMyGyList(data){
	return http.request({
		url: '/zzUser/getZzCpGySliceSelfList',
		method: 'get',
		data
	})
}
//我的干预 咨询师端
export function getMyGyListZxs(data){
	return http.request({
		url: '/warnGy/getSliceSelfGyTaskList',
		method: 'get',
		data
	})
}
//获取干预详情 
export function getGyDet(data){
	return http.request({
		url: '/warnGy/getSpecLogGyDetail',
		method: 'get',
		data
	})
}
//增加干预报告
export function addGyRep(data){
	return http.request({
		url: '/warnGy/addGyReport',
		method: 'post',
		data
	})
}
//完成危机干预最后动作
export function dealWjgy(data){
	return http.request({
		url: '/warnGy/comSpecGy',
		method: 'put',
		data
	})
}
//我的测评
export function getMyCpRec(data){
	return http.request({
		url: '/zzUser/getZzSliceSelfCpList',
		method: 'get',
		data
	})
}